<?php

class xstandardPlugin {

	function __construct(cCMS $cms) {
	}

	function getEditText($fieldName, $id, $value, $view, $this)
	{
		return '
			<object type="application/x-xstandard" id="'.$id.'" name="'.$fieldName.'" width="100%" height="600px">
				<param name="CSS" value="%SystemDrive%\XStandard\format.css" />
				<param name="Styles" value="%SystemDrive%\XStandard\styles.xml" />
	
				<param name="Toolbar" value="ordered-list,unordered-list,,layout-table,data-table,image,line,hyperlink,undo,,wysiwyg,source,preview,screen-reader,help" />

				<param name="ClassImageFloatLeft" value="left" />
				<param name="ClassImageFloatRight" value="right" />

				<param name="Options" value="0" />
				<param name="IndentOutput" value="no"/>
				<param name="BackgroundColor" value="" />
				<param name="BorderColor" value="black" />
				<param name="Base" value="http://soap.xstandard.com/library/" />

				<param name="LatestVersion" value="1.7.1.0"/>
				<param name="Lang" value="en"/>

				<param name="Value" value="'.$value.'" />
					
				<span class="message">If you do not see the editor here, there are three possible reasons.  (1) You have not yet installed XStandard to your computer. (2) You are using a browser that does not support ActiveX or Mozilla/Firefox plug-ins. (3) You have not enabled plug-ins to run in your browser. Any questions? Please contact us at <a href="support@xstandard.com">support@xstandard.com</a></span>
			</object>
			';
	}
}

?>